﻿<?xml version="1.0" encoding="utf-8" ?>
<Feature id="SalesForceFeature" name="SalesForce.com integration feature">
	<BusinessObjects>
		<BusinessObject injects="Contact">
			<Field name="salesForceId" type="String" />
		</BusinessObject>

		<BusinessObject injects="CompanySettings">
			<Field name="salesForceUserId" type="String" />
			<Field name="salesForcePassword" type="String" />
		</BusinessObject>
	</BusinessObjects>

	<BusinessRules>
		<BusinessRule name="updateSalesForceContactPostExtend" security="disabled" postExtends="updateContact" >
			<LocalClass name="SalesForce.SalesForceBizRules,ScsCore" />
		</BusinessRule>
		<BusinessRule name="updateSalesForceContact" security="disabled">
			<LocalClass name="SalesForce.SalesForceBizRules,ScsCore" />
		</BusinessRule>
	</BusinessRules>
	<BusinessRule name="getSalesForceContactInfo" security="disabled" postExtends="getContactDetail" >
		<LocalClass name="SalesForce.SalesForceBizRules,ScsCore" />
	</BusinessRule>
  <BusinessRule name="checkAddSalesForceContactFromArtForm" security="disabled" postExtends="updateUserArtFormData" >
    <LocalClass name="SalesForce.SalesForceBizRules,ScsCore" />
  </BusinessRule>

  <BusinessRules>
    <BusinessRule name="getSalesForceCompanySettingsTemplate" security="disabled" postExtends="getCompanySettingsDisplayTemplate" >
      <LocalClass name="SalesForce.SalesForceTemplateDisplayBizRules,ScsCore" />
    </BusinessRule>
    <BusinessRule name="getSalesForceCompanySettingsDbFieldNames" security="disabled" postExtends="getCompanySettingsDbFields" >
      <LocalClass name="SalesForce.SalesForceTemplateDisplayBizRules,ScsCore" />
    </BusinessRule>
  </BusinessRules>
</Feature>